package dgut.haitaobao.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "order_mysel",autoResultMap = true)
public class Order {
    @TableId(value = "order_id",type = IdType.INPUT)
    private Integer orderId;

    @TableField(value = "cart_id")
    private Integer cartId;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "add_time")
    private Date addTime;
}
